package guiClasses;

import java.awt.GridBagConstraints;

public class GBC {
	
	/**
	 * Creates a GridBagContrains object and sets the basic constraints.
	 * @param d The weightx of the new GridBagContrains object.
	 * @param e The weighty of the new GridBagContrains object.
	 * @param the_gridx The gridx of the new GridBagContrains object.
	 * @param the_gridy The grindy of the new GridBagContrains object.
	 * @return
	 */
	public static GridBagConstraints GBCGen(double d, double e, int the_gridx, int the_gridy) {
		GridBagConstraints c = new GridBagConstraints();
		c.weightx = d;
		c.weighty = e;
		c.gridx = the_gridx;
		c.gridy = the_gridy;
		return c;		
	}

}
